﻿using Microsoft.AspNetCore.Authorization;

namespace AuthZ.PolicyBased.Authorizations.Requirements;

/// <inheritdoc />
public class MinimumAgeRequirement : IAuthorizationRequirement
{
    public MinimumAgeRequirement(int minimumAge) => MinimumAge = minimumAge;
    public int MinimumAge { get; }
}